<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix' => 'admin/FakeData',
    'namespace' => 'Frieza\\Modules\\FakeData\\Controllers',
    'middleware' => [
        'web',
        'admin',
    ],
], function (Router $router) {
    $router->get('/', 'FakeDataController@list');
    $router->get('/create', 'FakeDataController@create');
//    $router->get('{id}/edit', 'FakeDataController@create');
    $router->post('/save', 'FakeDataController@save');
    $router->get('/stop/{id}', 'FakeDataController@stop');
});
